compress/flate.dictDecoder.hist (field)
27 uses
compress/flate (current package)
dict_decoder.go#L28: hist []byte // Sliding window history
dict_decoder.go#L40: *dd = dictDecoder{hist: dd.hist}
dict_decoder.go#L42: if cap(dd.hist) < size {
dict_decoder.go#L43: dd.hist = make([]byte, size)
dict_decoder.go#L45: dd.hist = dd.hist[:size]
dict_decoder.go#L47: if len(dict) > len(dd.hist) {
dict_decoder.go#L48: dict = dict[len(dict)-len(dd.hist):]
dict_decoder.go#L50: dd.wrPos = copy(dd.hist, dict)
dict_decoder.go#L51: if dd.wrPos == len(dd.hist) {
dict_decoder.go#L61: return len(dd.hist)
dict_decoder.go#L73: return len(dd.hist) - dd.wrPos
dict_decoder.go#L80: return dd.hist[dd.wrPos:]
dict_decoder.go#L94: dd.hist[dd.wrPos] = c
dict_decoder.go#L108: if endPos > len(dd.hist) {
dict_decoder.go#L109: endPos = len(dd.hist)
dict_decoder.go#L120: srcPos += len(dd.hist)
dict_decoder.go#L121: dstPos += copy(dd.hist[dstPos:endPos], dd.hist[srcPos:])
dict_decoder.go#L140: dstPos += copy(dd.hist[dstPos:endPos], dd.hist[srcPos:dstPos])
dict_decoder.go#L156: if dstPos < dist || endPos > len(dd.hist) {
dict_decoder.go#L164: dstPos += copy(dd.hist[dstPos:endPos], dd.hist[srcPos:dstPos])
dict_decoder.go#L175: toRead := dd.hist[dd.rdPos:dd.wrPos]
dict_decoder.go#L177: if dd.wrPos == len(dd.hist) {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |